import request from '@/utils/request'

// 查询收费订单列表
export function listChargeorder(data) {
  return request({
    url: '/report/chargeorder/list',
    method: 'post',
    data: data
  })
}

// 查询收费订单详细
export function getChargeorder(id) {
  return request({
    url: '/report/chargeorder/' + id,
    method: 'get'
  })
}

// 确认收费订单
export function confirmOrder(id) {
  return request({
    url: '/report/chargeorder/confirm/' + id,
    method: 'post'
  })
}

// 月度报表
export function monthList(data) {
  return request({
    url: '/report/chargeorder/monthList',
    method: 'post',
    data: data
  })
}
